<template>
  <div class="main">
    <el-container>
      <el-aside width="aotu">
        <RightAside></RightAside>
      </el-aside>
      <el-container>
        <el-header height="45px">
          <Header></Header>
        </el-header>
        <MenuTag></MenuTag>
        <el-main>
          <router-view class="route-page"></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import RightAside from '../common/RightAside'
import Header from '../common/Header'
import MenuTag from '../common/MenuTag.vue'
export default {
  name: "Home",
  props: {
    msg: String,
  },
  components:{
    RightAside,
    Header,
    MenuTag
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
  .el-header{
    background-color:	#778899;
    color: #333;
    text-align: center;
    line-height: 10px;
    padding:0 0;
  }
  
  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: left;
    line-height: 200px;
  }
  
  .el-main {
    margin-top:3px;
    background-color: #E9EEF3;
    color: #333;
    text-align: left;
    line-height: 160px;
    padding: 10px;
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
</style>
